#pragma once
#include "stdafx.h"

class Player : public MovableObject
{
public:
	//////////////////////////////////////////////////////////////////////////
	// Create a new player
	//////////////////////////////////////////////////////////////////////////
	Player(void)
	{
		name		= "no-name";
		mesh		= "robot";
		position	= Ogre::Vector3( 0.0, 0.0, 0.0 );
	}

	Player(Ogre::Vector3 pos)
	{
		name		= "no-name";
		mesh		= "robot";
		position	= pos;
	}

	~Player(void)
	{
	}

	bool MoveLeft(GameLevel& level, bool force);
	bool MoveRight(GameLevel& level, bool force);
	bool MoveUp(GameLevel& level, bool force);
	bool MoveDown(GameLevel& level, bool force);

protected:
	std::string		name;
	std::string		mesh;				/* the player's avatar */

	std::stack<GameMove>	moveList;	// list of moves we've made so far
};
